#ifndef ENDINSDESTSENDHANDLERB_H
#define ENDINSDESTSENDHANDLERB_H

#include "EndInsDestSendHandler.h"
#include "Log.h"

class EndInsDestSendHandlerB:public EndInsDestSendHandler
{
public:
	EndInsDestSendHandlerB(DWORD recvCount):EndInsDestSendHandler(),m_oriRecvCount(recvCount){}

	~EndInsDestSendHandlerB(){}

protected:
	virtual ITransHandler* GetNextHandler();

	virtual ExecuteResultCode OnExecuteError(ClientContext&,OVERLAPPED*,ExecuteResultCode);

private:
	static log4cplus::Logger log;

	DWORD m_oriRecvCount;
};

#endif